<div id="<*$controller*>">
  <div class="span3 bs-docs-sidebar ">
 	<*include file="<*$controller*>/location.tpl"*>
  </div>
<div class="span4">


    <caption><strong><*$name*><*$result.ordertitle*></strong></caption>
    
    <div class="form-actions"> 
  		<a  onClick="history.back();"><button type="button" class="btn">返&nbsp;回</button></a>
  </div>
    
   <table class="table table-bordered  table-striped">
       
       <tr>
          <td>订单编号</td>      
          <td><*$result.orderid*></td>   
       </tr>   
       <tr>
          <td>订单类型</td>      
          <td><*if $result.ordertype eq 'base'*>基础服务<*else if $result.ordertype eq 'album'*>相册购买<*else if $result.ordertype eq 'courseware'*>课件下载<*else*>其他<*/if*></td>   
       </tr> 
       <tr>
          <td>购买数量</td>      
          <td><*$result.paynum*></td>   
       </tr> 
       <tr>
          <td>交易状态</td>      
          <td><*if $result.status*>成功<*else*>未完成<*/if*></td>   
       </tr> 
       <tr>
          <td>单价</td>      
          <td><*$result.price*>元</td>   
       </tr>
        <tr>
          <td>折扣</td>      
          <td><*$result.discount*></td>   
       </tr>
        <tr>
          <td>总价</td>      
          <td><*$result.totalprice*>元</td>   
       </tr>
        <tr>
          <td>实际消费</td>      
          <td><*$result.trueprice*>元</td>   
       </tr>
        <tr>
          <td>是否确认</td>      
          <td><*if $result.ischecked*>已确认<*else*>未确认<*/if*></td>   
       </tr>
       
        <*if $result.ischecked*>
           <tr>
              <td>确认时间</td>      
              <td><*if $result.ischeckedtime*><*$result.ischeckedtime|date_format:'%Y-%m-%d %H:%M:%S'*><*else*> &nbsp;<*/if*></td>      </tr> 
      <*/if*> 
      
        <tr>
          <td>是否付款</td>      
          <td><*if $result.isreceivables*>已付款<*else*>未付款<*/if*></td>   
       </tr> 
       <*if $result.isreceivables*>
           <tr>
              <td>确认时间</td>      
              <td><*if $result.isreceivablestime*><*$result.isreceivablestime|date_format:'%Y-%m-%d %H:%M:%S'*><*else*> &nbsp;<*/if*></td>      </tr> 
        <*/if*>   
        <tr>
          <td>是否制作</td>     
          <td><*if $result.isproduction*>制作完成<*else*>待确认<*/if*></td>   
       </tr>
       
       <*if $result.isproduction*>
           <tr>
              <td>确认时间</td>      
              <td><*if $result.isproductiontime*><*$result.isproductiontime|date_format:'%Y-%m-%d %H:%M:%S'*><*else*> &nbsp;<*/if*></td>      </tr> 
        <*/if*> 
        <tr>
          <td>是否发货</td>      
          <td><*if $result.isship*>已发货<*else*>未发货<*/if*></td>   
       </tr>
       <*if $result.isship*>
           <tr>
              <td>发货时间</td>      
              <td><*if $result.isshiptime*><*$result.isshiptime|date_format:'%Y-%m-%d %H:%M:%S'*><*else*> &nbsp;<*/if*></td>      </tr> 
        <*/if*>  
       <tr>
          <td>订单状态</td>      
          <td><*if $result.isover*>已完成<*else*>未完成<*/if*></td>   
       </tr>
       <*if $result.isover*>
           <tr>
              <td>结束时间</td>      
              <td><*if $result.isovertime*><*$result.isovertime|date_format:'%Y-%m-%d %H:%M:%S'*><*else*> &nbsp;<*/if*></td>      </tr> 
        <*/if*> 
       <tr>
          <td>是否作废</td>      
          <td><*if $result.isdelete*>作废<*else*>有效<*/if*></td>   
       </tr>
        <*if $result.isover*>
           <tr>
              <td>作废时间</td>      
              <td><*if $result.isdeletetime*><*$result.isdeletetime|date_format:'%Y-%m-%d %H:%M:%S'*><*else*> &nbsp;<*/if*>    </td>      </tr> 
        <*/if*> 
       
   </table>
  <div class="form-actions"> 
  		<a  onClick="history.back();"><button type="button" class="btn">返&nbsp;回</button></a>
  </div>
   
</div>
</div>